﻿@using yeubongda
@using yeubongda.Models
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
    BAIBAO baibao = ViewBag.baibao;

    MENU menuCon = YBDModels.GetMenu(Convert.ToInt32(baibao.MaMN));
    List<MENU> listMenuCon = YBDModels.DocmenuCungCap(menuCon.MAMN);
    MENU MenuCha = YBDModels.GetMenu(Convert.ToInt32(baibao.MaMNCHA));
    ViewBag.Title = baibao.TENBAI;
}

<div id="contentbody">
    <div class="floatL mnu0">
        @for (int i = 0; i < listMenuCon.Count; ++i)
        {
            <a class="floatL" href="@Url.Content("~/Home/BaiBaoTheoMenuCon/" + listMenuCon[i].MAMN)">@listMenuCon[i].TENMN</a>
            <span class="floatL mnu00"></span>
        }        
    </div>
    <div id="contentText">
    <div class="sh5px"></div>
        <div id="Left">
        
        <div class="fllw100">
            <a class="sitemaphomepage" href="/#"> Tạp chí bóng đá</a> &gt;&gt; 
            <a href="@Url.Content("~/Home/BaiBaoTheoMenuCha/" + MenuCha.MAMN)">@MenuCha.TENMN </a> &gt;&gt; 
            <a href="@Url.Content("~/Home/BaiBaoTheoMenuCon/" + menuCon.MAMN)">@menuCon.TENMN</a> &gt;&gt; 
            <a href="@Url.Content("~/Home/BaiBaoDetail/" + baibao.MABAI)">@baibao.TENBAI</a>
        </div>
        <div class="sh10px"></div>
        
        <div class="fll N_RepeatContent">
        <div class="sh15px"></div>
            <div class="chitiet">
                <h1><span class="linkchitiet"> @baibao.TENBAI </span>&nbsp;&nbsp;&nbsp;&nbsp;
                <div id="___plusone_0" style="height: 24px; width: 106px; display: inline-block; text-indent: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; float: none; line-height: normal; font-size: 1px; vertical-align: baseline; background-position: initial initial; background-repeat: initial initial; ">
                </div></h1>
                <br><span class="NDate">@baibao.Ngay</span>
                         
            <p><span style="font-weight:bold;"><a href="/#"></a>@baibao.TIEUDE</span></p><br>
            @{List<BAIBAO> listMoi = YBDModels.DocBaiBaoMoiNhatTheoMenuCon(menuCon.MAMN, baibao.MABAI);}
            <p class="list_newer">
                &gt;&nbsp;<a href="@Url.Content("~/Home/BaiBaoDetail/" + listMoi[0].MABAI)">@listMoi[0].TENBAI</a><br>
                &gt;&nbsp;<a href="@Url.Content("~/Home/BaiBaoDetail/" + listMoi[1].MABAI)">@listMoi[1].TENBAI</a><br>
                &gt;&nbsp;<a href="@Url.Content("~/Home/BaiBaoDetail/" + listMoi[2].MABAI)">@listMoi[2].TENBAI</a><br>
            </p><br>

            <div class="fllw100">
                <span><div>
                    <img alt="" src="@Url.Content("~/Content/images/" + baibao.hinhanh)">                                                          </span></p>
                    <p><span style="font-family: Arial;"><span style="font-size: larger;"></span></span></p>
                    <p><span style="font-family: Arial;"><span style="font-size: larger;"><span style="line-height: 115%;">
                    @baibao.NOIDUNG</span></span></span></p></div>
                </span>
            </div>
                    
            <div class="clear"></div>
            <div>
                <div class="NOrther">
                    <span>Các bài cùng chuyên mục</span><hr style="width: 100%; text-align: left; color: #cacaca;">
                </div>
                <div class="fllw100">
                 @for (int j = 3; j < 8; ++j)
                 {     
                    <div class="NOrtherItem">
                        <a class="NOrtherLink" href="@Url.Content("~/Home/BaiBaoDetail/" + listMoi[j].MABAI)">@listMoi[j].TENBAI</a>
                        <span class="NDate">&nbsp;@listMoi[j].Ngay</span>
                    </div>
                 }
                </div>
                <div class="sh5px"></div>
            </div>
            </div>
        </div>
    </div>
    </div>
</div>        
